const { Parser } = require("../src/Parser");

const parser = new Parser();

// const program = `
//   let x = 12;
// `;

// const program = `
//   let x;
// `;

// const program = `
//   let x, y;
// `;

// const program = `
//   let x, y = 3;
// `;
// const program = `
//   a = 10;
// `;

const program = `
  let foo = bar = 12;
`;

const ast = parser.parse(program);

console.log(JSON.stringify(ast, null, 2));
